package com.hzy.fivepalace.db.vo;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author : zty
 * create at:  2022/5/22  7:02 下午
 * @description:
 */
@Data
@ApiModel(value="所有的区域列表返回对象")
public class GegionTreeVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="主键ID")
    private Integer value;

    @ApiModelProperty(value="父级id")
    private Integer parentId;

    @ApiModelProperty(value="名称")
    private String label;

    private List<GegionTreeVO> children;
}
